//
//  HZViewConvertImage.h
//  HZtest
//
//  Created by huazi on 14-9-22.
//  Copyright (c) 2014年 HZ. All rights reserved.
//
/**
 *  用途：将view生成image
 
 *  用法：self.imageView.contentMode =UIViewContentModeScaleAspectFit;
    self.imageView.image =[HZViewConvertImage getImage:view];
    [HZViewConvertImage saveImageToPhotos:self.imageView.image AndVCtargt:self];
 *
 */
#import <Foundation/Foundation.h>

@interface HZViewConvertImage : NSObject
+(UIImage *)getImage:(UIView *)view;
+(void)saveImageToPhotos:(UIImage*)savedImage AndVCtargt:(UIViewController *)VC;
@end
